package cn.tedu.submarine;

import javax.swing.*;
import java.util.Random;

//侦查潜艇
public class ObserveSubmarine extends SeaObject implements EnemyScore{

    public ObserveSubmarine(){
        super(63,19);
    }

    public void move(){
        x += speed; //x向右
    }

    //返回侦查潜艇图片
    public ImageIcon getImage() {
        return Images.obsersubm;
    }

    public int getScore(){
        return 10; //打掉侦查潜艇,得10分
    }
}
